package com.baicaoyuan.web.request.br;

import com.baicaoyuan.web.request.BaseRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
@ApiModel(value = "com.baicaoyuan.web.request.br.BJzzSale", description = "发布卖金种子需求")
public class BJzzSale extends BaseRequest {

    @ApiModelProperty(value = "参与交易的金种子数量", required = true)
    private BigDecimal jzzNumber;

    /**
     * 交易账户
     * {@link com.baicaoyuan.web.enums.PayTypeEnum}
     */
    @ApiModelProperty(value = "收钱账号  1 支付宝 2 微信 3 银行")
    private List<PayInfo> payInfo;

    @Data
    public static class PayInfo implements Serializable {
        @ApiModelProperty(value = "收钱账号  1 支付宝 2 微信 3 银行")
        private String PayType;

        @ApiModelProperty(value = "账号")
        private String account;
        @ApiModelProperty(value = "账号人名")
        private String accountName;
        @ApiModelProperty(value = "类型 银行特用")
        private String accountType;
        @ApiModelProperty(value = "开户行 银行特用")
        private String accountAddress;
    }
}
